-- GENERATED SPELL FOR [Dalaran Brewmaster] --


function spell0_3577(pUnit, Event) --@Potion Toss,Heal--
pUnit:FullCastSpellOnTarget(7638,pUnit)
pUnit:RegisterEvent('Sorts_3577', 5000, 1)
end

function Sorts_3577(pUnit, Event)
local choix_sorts_3577 = math.random(0, 0)
if choix_sorts_3577 == 0 then
pUnit:RegisterEvent('spell0_3577', 1, 1)
end
end

function mob3577_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3577', math.random(1500, 3000), 1)
end

function mob3577_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3577_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3577_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3577, 1, 'mob3577_Action')
RegisterUnitEvent(3577, 2, 'mob3577_Leave')
RegisterUnitEvent(3577, 3, 'mob3577_Kill')
RegisterUnitEvent(3577, 4, 'mob3577_Die')
